.grid-content {
  display: flex;
  align-items: center;
  height: 100px;
}

.grid-cont-right {
  flex: 1;
  text-align: center;
  font-size: 14px;
  color: #999;
}

.grid-num {
  font-size: 30px;
  font-weight: bold;
}

.grid-con-icon {
  font-size: 50px;
  width: 100px;
  height: 100px;
  text-align: center;
  line-height: 100px;
  color: #fff;
}

.grid-con-1 .grid-con-icon {
  background: rgb(45, 140, 240);
}

.grid-con-1 .grid-num {
  color: rgb(45, 140, 240);
}

.grid-con-2 .grid-con-icon {
  background: rgb(100, 213, 114);
}

.grid-con-2 .grid-num {
  color: rgb(45, 140, 240);
}

.grid-con-3 .grid-con-icon {
  background: rgb(242, 94, 67);
}

.grid-con-3 .grid-num {
  color: rgb(242, 94, 67);
}

.user-info {
  display: flex;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

.user-avator {
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.user-info-cont {
  padding-left: 50px;
  flex: 1;
  font-size: 14px;
  color: #999;
}

.user-info-cont div:first-child {
  font-size: 30px;
  color: #222;
}

.user-info-list {
  font-size: 14px;
  color: #999;
  line-height: 25px;
}

.user-info-list span {
  margin-left: 70px;
}

.mgb20 {
  margin-bottom: 20px;
}

.todo-item {
  font-size: 14px;
}

.todo-item-del {
  text-decoration: line-through;
  color: #999;
}

.schart_pie {
  width: 150px;
  height: 100px;
}

.select_build {
  float: right;
  width: 95px;
  margin-left: 10px;
}

.select_build1 {
  position: absolute;
  right: 10px;
  width: 115px;
}

.select_build2 {
  margin-right: 1rem;
}

.monitor_header {
  height: 300px;
}

.monitor_header .inner {
  height: 100%;
  padding: 0.5rem 0;
  display: flex;
  flex-direction: column;
}

.monitor_header .tabs {
  padding: 0 0.5rem;
  margin-bottom: 0.75rem;
}

.monitor_header .tabs a {
  color: #1950c4;
  font-size: 0.75rem;
  padding: 0 1.125rem;
}

.monitor_header .tabs a:first-child {
  border-right: 0.083rem solid #00f2f1;
  padding-left: 0;
}

.monitor_header .tabs a.active {
  color: #fff;
}

.monitor_header .content1 {
  flex: 1;
  display: none;
  position: relative;
}

.monitor_header .head {
  background: rgba(255, 255, 255, 0.1);
  font-size: 0.583rem;
  padding: 0.5rem 1.5rem;
  color: #68d8fe;
  display: flex;
  justify-content: space-between;
  line-height: 1.05;
}

.monitor_header .col:nth-child(1) {
  width: 3.2rem;
}

#enterpqual {
  width: 500px;
  height: 200px;
}

.monitor_header .col:nth-child(2) {
  /* width: 8.4rem; */
  /* 不换行  一行省略*/
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.monitor_header .col:nth-child(3) {
  width: 3.2rem;
}

.monitor_header .marquee-view {
  // position: absolute;
  top: 1.6rem;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.monitor_header .row {
  line-height: 1.05;
  padding: 0.5rem 1.5rem;
  color: #61a8ff;
  font-size: 0.5rem;
  position: relative;
  display: flex;
  justify-content: space-between;
}

.monitor_header .row:hover {
  color: #68d8ff;
  background: rgba(255, 255, 255, 0.1);
}

.monitor_header .row1 {
  color: #68d8ff;
  background: rgba(255, 255, 255, 0.1);
}

.monitor_header .row:hover .icon-dot {
  opacity: 1;
}

.monitor_header .icon-dot {
  position: absolute;
  left: 0.64rem;
  opacity: 0;
}

.monitor_header .marquee-view {
  // position: absolute;
  top: 1.6rem;
  bottom: 0;
  width: 100%;
  overflow: hidden;
}

.monitor_header .row {
  line-height: 1.05;
  padding: 0.5rem 1.5rem;
  color: #61a8ff;
  font-size: 0.5rem;
}

.monitor_header .row:hover {
  color: #68d8ff;
  background: rgba(255, 255, 255, 0.1);
}

.monitor_header .row:hover .icon-dot {
  opacity: 1;
}

.monitor_header .icon-dot {
  position: absolute;
  left: 0.64rem;
  opacity: 0;
}

.slideshowImg {
  height: 150px;
  width: 100%;
}

.el-progress-bar__outer {
  height: 16px !important;
}

.residue {
  margin-top: 17.5px;
  color: #ffff;
}

.alarm_title {
  font-size: 14px;
  padding-bottom: 15px;
  cursor: pointer;
}

.header_box_content {
  height: 18rem;
  display: flex;
  position: relative;
  top: 1rem;
  // width:79%;
  margin-right: 10px;

  .monitor {
    flex: 1;
    // margin-left: 10px;
  }
}

&:deep(#echartDeviceline) {
  width: 100%;
}

&:deep(.el-input__inner) {
  background-color: #306abb42;
  border: 1px solid #1240ab;
  width: 100px;
}

.el-select-dropdown__item {
  text-align: center;
}

.schart_title {
  color: #68d8ff;
  cursor: pointer;
}

.schart_title2 {
  // position: absolute;
  // left:-70px;
  // top:-5px;
  color: #68d8ff;
  font-size: 1rem;
}

.title_top {
  top: 15px;
}

.schart_box {
  // position: absolute;
  // right: -50px;
  height: 100%;
  bottom: 2px;
  display: flex;
  justify-content: space-between;
}

.schart-box {
  display: inline-block;
  margin: 20px;
  width: 100px;
  height: 150px;
}

.schart {
  width: 100px;
  height: 150px;
  position: absolute;
}

.bottom20 {
  bottom: 20px;
}

.right30 {
  right: 30px;
}

.right20 {
  right: 20px;
}

.bottom20 {
  bottom: 15px;
}

.content-title {
  clear: both;
  font-weight: 400;
  line-height: 50px;
  margin: 10px 0;
  font-size: 22px;
  color: #1f2f3d;
}

#powerConsumption {
  // position: absolute;
  // right: -15px;
  // top: 50px;
}

&:deep(.el-input) {
  width: 110px;
}

#electro-power {
  // position: absolute;
  // right: 0;
  // left:-45px;
  // bottom: 45px;
}

&:deep(.el-progress__text) {
  color: #fff;
}

&:deep(.el-progress-bar__outer) {
  border-radius: 0;
  background-color: #182d5f;
}

&:deep(.el-progress-bar__inner) {
  border-radius: 0;
}

.realTimeAlarm {
  // position: absolute;
  // top: -75px;
}

.todayAlarm {
  position: relative;
  top: -295px;
}

.todayA_box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.tAlarm {
  color: red;
  margin-right: 5px;
}

.tAlarm1 {
  color: rgb(223, 184, 14);
  margin-right: 5px;
}

.tAlarm3 {
  color: rgb(17, 110, 218);
  margin-right: 5px;
}

.tAlarm4 {
  color: rgba(25, 219, 106, 0.76);
  margin-right: 5px;
}

.tAlarm_title1 {
  color: red;
  margin: 20px 0;
}

.tAlarm_title2 {
  color: rgb(223, 184, 14);
}

.tAlarm_title3 {
  color: rgb(17, 110, 218);
}

.tAlarm_title4 {
  color: rgba(25, 219, 106, 0.76);
}

/* 屏幕小于1200px */
@media screen and (max-width: 1200px) {

  .monitor1,
  .monitor2,
  .monitor3,
  .monitor4,
  .monitor5,
  .monitor6 {
    width: 220px;
  }

  &:deep(#echartContainer1) {
    width: 65%;
  }

  &:deep(#echartDeviceState1) {
    width: 65%;
  }


  .schart_box {
    width: 100%;
    left: -80px;
  }

  .tAlarm_margin {
    margin: 0.5rem 0;
  }

  .schart_title1 {
    position: absolute;
    left: -40px;
    font-size: 0.8rem;
  }

  .el-icon-d-arrow-right,
  .el-icon-d-arrow-left {
    font-size: 1.2rem;
  }

  .el-icon-caret-right,
  .el-icon-caret-left,
  .el-icon-reading {
    font-size: 1.2rem;
  }

  .fullScreen {
    width: 6rem;
    font-size: 0.5rem;
    padding: 0.5rem 0.2rem;
  }

  .panel_title {
    // width:75%;
  }
}

/* 屏幕等于1200px */
@media screen and (max-width: 1200px) and (min-width: 1200px) {

  .monitor1,
  .monitor2,
  .monitor3,
  .monitor4,
  .monitor5,
  .monitor6 {
    width: 358px;
  }

  .schart_box {
    // width:460px;
    // left: -70px;
  }

  .tAlarm_margin {
    margin: 0.8rem 0;
  }

  &:deep(#echartContainer1) {
    width: 80%;
  }

  &:deep(#echartDeviceState1) {
    width: 80%;
  }

  .schart_title1 {
    position: absolute;
    left: -40px;
    font-size: 0.9rem;
  }

  .todayA_cont {
    flex: 1;
    // width: 70px;
    color: #fff;
    border: 1px solid rgb(17, 110, 218);
    display: grid;
    padding: 0.6rem;
    margin-right: 0.6rem;
    border-radius: 10px;
    margin-bottom: 0.7rem;

    div {
      font-size: 0.8rem;
    }
  }

  .el-icon-d-arrow-right,
  .el-icon-d-arrow-left {
    font-size: 1.5rem;
  }

  .el-icon-caret-right,
  .el-icon-caret-left {
    font-size: 1.5rem;
  }

  .el-icon-reading {
    font-size: 1.7rem;
  }

  .fullScreen {
    width: 6rem;
    font-size: 0.5rem;
    padding: 0.5rem 0.2rem;
  }
}

/* 屏幕大于1200px */
@media screen and (min-width: 1200px) {

  .monitor1,
  .monitor2,
  .monitor3,
  .monitor4,
  .monitor5,
  .monitor6 {
    width: 408px;
  }

  .schart_box {
    // width:460px;
    left: -70px;
  }

  .tAlarm_margin {
    margin: 1rem 0;
  }

  &:deep(#echartContainer1) {
    width: 80%;
  }

  &:deep(#echartDeviceState1) {
    width: 80%;
  }

  .schart_title1 {
    position: absolute;
    left: -40px;
    font-size: 0.9rem;
  }

  .police_info {
    font-size: 0.8rem;
  }

  .todayA_cont {
    flex: 1;
    // width: 80px;
    color: #fff;
    border: 1px solid rgb(17, 110, 218);
    display: grid;
    padding: 0.7rem;
    margin-right: 0.8rem;
    border-radius: 10px;
    margin-bottom: 0.9rem;
    cursor: pointer;

    div {
      font-size: 1rem;
    }
  }

  .el-icon-d-arrow-right,
  .el-icon-d-arrow-left {
    font-size: 1.7rem;
  }

  .el-icon-caret-right,
  .el-icon-caret-left {
    font-size: 1.7rem;
  }

  .el-icon-reading {
    font-size: 1.9rem;
  }

  .fullScreen {
    width: 7rem;
    font-size: 0.7rem;
    padding: 0.7rem 0.2rem;
  }

  .panel_title {
    // width:56%;
  }
}

.todayA_cont>div:nth-child(2) {
  justify-self: end;
}

.height_statistics {
  height: 60px;
}

.width40 {
  width: 100%;
}

.height20 {
  height: 100%;
}

.height30 {
  min-height: 31rem;
}

.build_box {
  display: flex;
  justify-content: center;
}

#electro-power {
  width: 490px;
  height: 240px;
  right: 15px;
}